package com.fengwk.resource.service;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Collection;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.eclipse.jgit.api.errors.GitAPIException;
import org.eclipse.jgit.api.errors.InvalidRemoteException;
import org.eclipse.jgit.api.errors.TransportException;

import com.fengwk.resource.face.model.File;

public interface UploadService {

	List<File> files(Long userId, HttpServletRequest request) throws IOException, InvalidRemoteException, TransportException, GitAPIException, InterruptedException ;
	
	List<File> urls(Long userId, Collection<String> urls) throws MalformedURLException;
	
}
